package pl.bank.view.beans;

import javax.faces.event.ActionEvent;

import oracle.binding.OperationBinding;

import utils.ADFUtils;


public class AdminBean {
    public AdminBean() {
    }

    public void symulateElixir(ActionEvent actionEvent) {
        OperationBinding make = ADFUtils.findOperation("makeTransactions");
        make.execute();

        OperationBinding commit = ADFUtils.findOperation("Commit");
        commit.execute();

    }
}
